package ciyuan.Gui;

import ciyuan.Block.Machine.Stream.jygl.JyglScreen;
import ciyuan.Block.Machine.ddfsj.DdfsjScreen;
import ciyuan.Block.Machine.dlb.DlbScreen;
import ciyuan.Block.Machine.fkqgj.FkqgjScreen;
import ciyuan.Block.Machine.fsj.FsjScreen;
import ciyuan.Block.Machine.fyc.FycScreen;
import ciyuan.Block.Machine.gl.GlScreen;
import ciyuan.Block.Machine.lyj.LyjScreen;
import ciyuan.Block.Machine.pljsrl.PljsrlScreen;
import ciyuan.Block.Machine.rmfdj.RmfdjScreen;
import ciyuan.Block.Machine.ryfdj.RyfdjScreen;
import ciyuan.Block.Machine.st.StScreen;
import ciyuan.Block.Machine.tcjhc.TcjhcScreen;
import ciyuan.Block.Machine.yjcxj.YjcxjScreen;
import ciyuan.Block.Machine.yyj.YyjScreen;
import ciyuan.Block.Machine.yyjlq.YyjlqScreen;
import ciyuan.Block.Mortar.MortarScreen;
import ciyuan.Gui.Ornaments.OrnamentsScreen;
import net.minecraft.client.gui.ScreenManager;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

/**
 * @author 150149
 */
@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class ScreenRegistry {

    @SubscribeEvent
    public static void onClientSetupEvent(FMLClientSetupEvent event) {
        event.enqueueWork(() -> {
            ScreenManager.register(ContainerRegistry.obsidianFirstContainer.get(), MortarScreen::new);
            ScreenManager.register(ContainerRegistry.glContainer.get(), GlScreen::new);
            ScreenManager.register(ContainerRegistry.fsjContainer.get(), FsjScreen::new);
            ScreenManager.register(ContainerRegistry.stContainer.get(), StScreen::new);
            ScreenManager.register(ContainerRegistry.jyglContainer.get(), JyglScreen::new);
            ScreenManager.register(ContainerRegistry.lyjContainer.get(), LyjScreen::new);
            ScreenManager.register(ContainerRegistry.pljsrlContainer.get(), PljsrlScreen::new);
            ScreenManager.register(ContainerRegistry.fkqgjContainer.get(), FkqgjScreen::new);
            ScreenManager.register(ContainerRegistry.rmfdjContainer.get(), RmfdjScreen::new);
            ScreenManager.register(ContainerRegistry.dlbContainer.get(), DlbScreen::new);
            ScreenManager.register(ContainerRegistry.ddfsjContainer.get(), DdfsjScreen::new);
            ScreenManager.register(ContainerRegistry.yyjContainer.get(), YyjScreen::new);
            ScreenManager.register(ContainerRegistry.tcjhcContainer.get(), TcjhcScreen::new);
            ScreenManager.register(ContainerRegistry.yjcxjContainer.get(), YjcxjScreen::new);
            ScreenManager.register(ContainerRegistry.FycContainer.get(), FycScreen::new);
            ScreenManager.register(ContainerRegistry.yyjlqContainer.get(), YyjlqScreen::new);
            ScreenManager.register(ContainerRegistry.ryfdjContainer.get(), RyfdjScreen::new);
            ScreenManager.register(ContainerRegistry.ornamentsContainer.get(), OrnamentsScreen::new);
        });
    }

}
